package com.bjbn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjbn.entity.FimsDataOri;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;

/**
 * FIMS原始数据Mapper接口
 * 
 * @author bjbn
 */
@Mapper
public interface FimsDataOriMapper extends BaseMapper<FimsDataOri> {

    /**
     * 删除指定日期之前的数据
     * 
     * @param beforeDate 指定日期
     * @return 删除的记录数
     */
    int deleteBeforeDate(@Param("beforeDate") LocalDateTime beforeDate);
} 